<#include "/admin/common/header.ftl">
<link href="/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<link href="/plugins/ztree/css/metroStyle/metroStyle.css" rel="stylesheet">
<body class="with-padding">
<table id="dataGrid" class="table"></table>
<#include "/admin/common/footer.ftl">
<script src="/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="/plugins/ztree/jquery.ztree.all.min.js"></script>
<script>
    $('#dataGrid').bootstrapTable({
        method: "get",//请求方式
        url: "/admin/getLogList",//数据源
        uniqueId: "logId",
        dataField: "list",
        search: true,
        pagination: true,//是否分页
        clickToSelect: true,
        singleSelect: true,
        sidePagination: "server",//服务端分页
        queryParamsType: "",
        columns: [
            {
                title: "操作地址",
                field: "logUrl"
            },
            {
                title: "操作内容",
                field: "logInfo",
                width: 400
            },
            {
                title: "操作结果",
                field: "logDesc"
            },
            {
                title: "操作ip",
                field: "ipAddress"
            },
            {
                title: "操作账户",
                field: "userName"
            },
            {
                title: "操作时间",
                field: "createTime"
            }
        ]
    });
</script>
</body>
</html>